package pcjavanet.mobilesell.model;

import java.util.Date;

 import pcjavanet.mobilesell.model.Storehouse;

public class History {
    private Integer dbid;

    private String datestr;

    private String typestring;

    private String serialnumber;

    private Double price;

    private String peijian;

    private Integer refStorehouseDbid;

    private Date createDate;

    private Storehouse storehouse = null;
    public void setStorehouse( Storehouse storehouse ){
        this.storehouse=storehouse;
    }
    public Storehouse getStorehouse( ){
    	return this.storehouse;
    }
    public Integer getDbid() {
        return dbid;
    }

    public void setDbid(Integer dbid) {
        this.dbid = dbid;
    }

    public String getDatestr() {
        return datestr;
    }

    public void setDatestr(String datestr) {
        this.datestr = datestr == null ? null : datestr.trim();
    }

    public String getTypestring() {
        return typestring;
    }

    public void setTypestring(String typestring) {
        this.typestring = typestring == null ? null : typestring.trim();
    }

    public String getSerialnumber() {
        return serialnumber;
    }

    public void setSerialnumber(String serialnumber) {
        this.serialnumber = serialnumber == null ? null : serialnumber.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getPeijian() {
        return peijian;
    }

    public void setPeijian(String peijian) {
        this.peijian = peijian == null ? null : peijian.trim();
    }

    public Integer getRefStorehouseDbid() {
        return refStorehouseDbid;
    }

    public void setRefStorehouseDbid(Integer refStorehouseDbid) {
        this.refStorehouseDbid = refStorehouseDbid;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
